package com.dwd.hrm.mapper;

import com.dwd.hrm.domain.Course;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.dwd.hrm.domain.CourseDetail;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wendi
 * @since 2021-03-05
 */
public interface CourseMapper extends BaseMapper<Course> {
    /**
     * 上线
     * @param courses
     */
    void bathUp(List<Course> courses);

    /**
     * 下线
     * @param courses
     */
    void batchDown(List<Course> courses);

    CourseDetail querymarketAndDetal(Long id);
}
